package com.guoshengdeu.door.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guoshengdeu.door.entity.Menu;

import java.util.List;
import java.util.Map;

public interface MenuMapper extends BaseMapper<Menu> {

    //查询一级菜单
    List<Map<String, Object>> findById();

    //按照一级菜单id来查询一级菜单下的子菜单
    List<Map<String, Object>> findByIdList(Integer menuid);

}
